app.controller('GoodDetailCtrl', ['$scope', '$stateParams', function ($scope, $stateParams) {
    $scope.goodId = $stateParams.id;
}])
